package com.ahearttogo.rpc.proto;

import lombok.Data;

/**
 *
 * 表示RPC返回
 * @author xiejialin
 * @date 2020/2/17 9:28 AM
 */

@Data
public class Response {

    /**
     * 服务相应编码 0：成功 非0：失败
     */
    private int code = 0;

    private String msg = "ok";

    private Object data;
}
